package edu.jmu.flowmeter.domain;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import edu.jmu.flowmeter.dto.AbstractBaseDomain;

import javax.persistence.*;

@Table(name = "user")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class User extends AbstractBaseDomain {


    private String username;
    @JsonIgnore
    private String password;



    /**
     * @return username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }
}